/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * Licensed under Simplified BSD License
 *
 *
 * @author: jin Chen 
 * @date: Sep 2, 2004$
 * @version: 1.0
 */
package edu.psu.geovista.app.pcp.plot.layer;

import java.awt.*;

public abstract class RuntimeLayer extends BasicLayer{

    public void paintLayer(Graphics g){
        Color oldc = g.getColor();
        Color color=(Color) this.configInfo.getConfig(ConfigInfo.Attr_COLOR );
        if(color!=null)//color=Color.black ;
                g.setColor(color);

        this.paintComponent(g);

        g.setColor(oldc);
    }
    
}
